@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

ul, li, ol {
  list-style-type: none; }

a {
  text-decoration: none; }

img {
  border: none; }

input, textarea, button, select {
  outline: none; }

body {
  font-size: 16px;
  font-family: Arial,Verdana,"Microsoft yahei","Pingfang SC",Simsun; }

.clear {
  clear: both;
  height: 0;
  line-height: 0;
  overflow: hidden;
  font-size: 0; }

.light {
  height: 100vh;
  background: linear-gradient(45deg, #ffe7ff 0%, #89bfb5 45%, #89bfb5 58%, #ffe7ff 99%); }

.part {
  display: flex;
  justify-content: center; }

.section button:hover {
  background-color: #d7fbe8; }

.skin {
  cursor: pointer; }

.section span {
  display: inherit; }

/* 页面样式 */
.unfinish {
  margin-top: 50px;
  background: linear-gradient(318deg, transparent 3rem, #a6cdb0 3.5rem, #a6cdb0 3.6rem, #a6cdb0 0);
  border-radius: 11px;
  position: relative;
  width: 400px;
  height: 400px;
  color: #eeeeee;
  text-align: center;
  transform: rotate(358deg);
  transition: all .4s;
  box-shadow: -0.4em -0.4em 0.5em 0em rgba(0, 0, 0, 0.15); }

.unfinishTitle {
  padding-top: 10px;
  font-size: 20px;
  font-weight: 500;
  animation: shining 0.5s alternate infinite; }

.unfinishList {
  margin-top: 10px;
  height: 268px;
  overflow: auto; }

.unfinishUL li {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: 50px;
  line-height: 65px;
  border-bottom: 1px dashed #eee;
  position: relative; }

.unfinishUL .delet {
  width: 1.88rem;
  height: 1.88rem;
  transition: all .4s; }

.unfinishUL .delet:hover {
  cursor: pointer;
  transform: scale(1.2); }

.choic {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 5px;
  top: 21px;
  cursor: pointer; }

.choic::after {
  content: '';
  background-color: #b9e0c3;
  display: inline-block;
  width: 23px;
  height: 23px;
  text-align: center; }

.choic:checked::after {
  font-size: 20px;
  content: '';
  background-image: url("../images/勾.png");
  background-size: 100%;
  background-color: #aa96da;
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px; }

.choic:checked + .ListWord {
  text-decoration: line-through #b6b6b6; }

.ListWord {
  width: 65%;
  height: 50px;
  font-size: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; }

.unfinish:hover, .finish:hover {
  transform: scale(1.1); }

.unfinish::before {
  content: '';
  position: absolute;
  right: 0px;
  top: 330px;
  width: 85px;
  height: 76px;
  border-radius: 25% 0 0 25%;
  background: linear-gradient(to left top, transparent 50%, rgba(127, 189, 148, 0.6) 0, rgba(186, 236, 201, 0.4)) 85% 0 no-repeat;
  transform: rotate(361deg);
  transform-origin: bottom right;
  /* 让三角形的右下角成为旋转的中心 */
  border-bottom-left-radius: inherit;
  /* 左下角继承border-radius */ }

.finish {
  margin-left: 150px;
  margin-top: 50px;
  background: linear-gradient(318deg, transparent 3rem, #a6cdb0 3.5rem, #a6cdb0 3.6rem, #a6cdb0 0);
  border-radius: 11px;
  position: relative;
  width: 400px;
  height: 400px;
  color: #eeeeee;
  text-align: center;
  transform: rotate(3deg);
  transition: all .4s;
  box-shadow: -0.4em -0.4em 0.5em 0em rgba(0, 0, 0, 0.15); }

.finish::before {
  content: '';
  position: absolute;
  right: 0px;
  top: 330px;
  width: 85px;
  height: 76px;
  border-radius: 25% 0 0 25%;
  background: linear-gradient(to left top, transparent 50%, rgba(127, 189, 148, 0.6) 0, rgba(186, 236, 201, 0.4)) 85% 0 no-repeat;
  transform: rotate(361deg);
  transform-origin: bottom right;
  /* 让三角形的右下角成为旋转的中心 */
  border-bottom-left-radius: inherit;
  /* 左下角继承border-radius */ }

@keyframes shining1 {
  from {
    text-shadow: 0 0 10px #aa96da, 0 0 20px #aa96da, 0 0 30px #aa96da, 0 0 40px skyblue, 0 0 50px skyblue, 0 0 60px skyblue; }
  to {
    text-shadow: 0 0 5px #aa96da, 0 0 10px #aa96da, 0 0 15px #aa96da, 0 0 20px skyblue, 0 0 25px skyblue, 0 0 30px skyblue; } }

@keyframes shining {
  from {
    text-shadow: 0 0 20px #74a182, 0 0 30px #89c198, 0 0 40px #6aaf7c, 0 0 50px #7abf97, 0 0 60px #75ce9f; }
  to {
    text-shadow: 0 0 15px #68af6b, 0 0 20px #79bc97, 0 0 25px #77bc91, 0 0 30px #7eca98; } }

/* 黑色 */
.dark {
  height: 100vh;
  background: linear-gradient(45deg, #d1fbe1 0%, #7495aa 39%, #7495aa 56%, #d1fbe1 99%);
  color: white;
  border-color: black; }

.dark .todo-head {
  width: 100%;
  height: 100px;
  background: #63806d; }

.dark .section span {
  display: inherit; }

.dark .section input {
  width: 500px;
  height: 38px;
  line-height: 41px;
  margin: 10px 0;
  padding: 10px 5px;
  border-radius: 20px;
  border: 1px solid #26423d;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }

.dark .section button {
  width: 80px;
  height: 37px;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15);
  margin-left: -80px;
  border-radius: 20px;
  background: white;
  border: 1px solid #26423d; }

.dark .unfinish, .dark .finish {
  color: #b0c1b1;
  background: linear-gradient(318deg, transparent 3rem, #6b997a 3.5rem, #6b997a 3.6rem, #6b997a 0); }

.dark .choic::after {
  background-color: #91a893; }

.dark .choic:checked::after {
  background-color: #8576ab; }

.dark .ListWord {
  color: #b0c1b1; }

.dark .unfinishUL li {
  border-bottom: 1px dashed #6a6a6a; }

.dark .unfinishTitle {
  animation: shining2 0.5s alternate infinite; }

.dark .section button:hover {
  background-color: #546c60;
  color: #f2f2f2; }

@keyframes shining2 {
  from {
    text-shadow: 0 0 20px #74a182, 0 0 30px #649371, 0 0 40px #599c6a, 0 0 50px #478862, 0 0 60px #5eb889; }
  to {
    text-shadow: 0 0 10px #77b68b, 0 0 15px #68af6b, 0 0 20px #4d936c, 0 0 25px #468c60, 0 0 30px #4c9b67; } }

@media all and (max-width: 1006.98px) {
  .dark .todo-head {
    width: 100%;
    height: 80px; }
  .dark .section {
    width: 605px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  .dark .section span {
    color: white;
    font-weight: bolder;
    font-size: 25px;
    line-height: 80px; }
  .dark .section input {
    width: 400px;
    height: 30px;
    line-height: 33px;
    margin: 8px 0;
    padding: 8px 5px;
    border-radius: 20px;
    border: 1px solid #8fcfc3;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }
  .dark .section button {
    width: 64px;
    height: 30px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 0 0 rgba(255, 255, 255, 0.15);
    margin-left: -63px;
    border-radius: 20px;
    background: white;
    border: 1px solid #8fcfc3; }
  .dark .section .submitP {
    height: 46px;
    line-height: 46px; }
  .dark .part {
    width: 96%;
    margin-left: auto;
    margin-right: auto; }
  .dark .unfinish {
    width: 360px;
    height: 350px; }
  .dark .unfinishUL li {
    height: 40px;
    line-height: 45px; }
  .dark .choic {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 5px;
    top: 12px; }
  .dark .ListWord {
    width: 65%;
    height: 40px;
    font-size: 16px; }
  .dark .finish {
    width: 360px;
    height: 350px;
    margin-left: 40px; }
  .dark .unfinish::before, .finish::before {
    position: absolute;
    right: 1px;
    top: 279px; }
  .dark .unfinish:hover, .finish:hover {
    transform: scale(1.1); } }

@media all and (max-width: 639.98px) {
  .dark .todo-head {
    width: 100%;
    height: 60px; }
  .dark .section {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    align-items: center; }
  .dark .section span {
    color: white;
    font-weight: bolder;
    font-size: 22px;
    line-height: 60px; }
  .dark .section input {
    width: 280px;
    height: 26px;
    line-height: 28px;
    margin: 6px 0;
    padding: 6px 5px;
    border-radius: 20px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }
  .dark .section button {
    width: 56px;
    height: 28px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 0 0 rgba(255, 255, 255, 0.15);
    margin-left: -50px;
    border-radius: 20px;
    background: white; }
  .dark .section .submitP {
    height: 46px;
    line-height: 46px; }
  .dark .part {
    flex-direction: column;
    align-items: center;
    width: 96%; }
  .dark .unfinish {
    width: 360px;
    height: 350px; }
  .dark .unfinishUL li {
    height: 40px;
    line-height: 45px; }
  .dark .choic {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 5px;
    top: 12px; }
  .dark .ListWord {
    width: 65%;
    height: 40px;
    font-size: 16px; }
  .dark .finish {
    width: 360px;
    height: 350px;
    margin-left: 40px; }
  .dark .unfinish::before, .finish::before {
    position: absolute;
    right: 1px;
    top: 279px; }
  .dark .unfinish:hover, .finish:hover {
    transform: scale(1.1); } }

@media all and (min-width: 1007px) {
  .todo-head {
    width: 100%;
    height: 100px;
    background: #70c0b2; }
  .section {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  .section span {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    line-height: 100px; }
  .section input {
    width: 500px;
    height: 38px;
    line-height: 41px;
    margin: 10px 0;
    padding: 10px 5px;
    border-radius: 20px;
    border: 1px solid #95e1d3;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }
  .section button {
    width: 80px;
    height: 37px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15);
    margin-left: -80px;
    border-radius: 20px;
    background: white;
    border: 1px solid #95e1d3; }
  .section .submitP {
    height: 60px;
    line-height: 60px; } }

@media all and (max-width: 1006.98px) {
  .todo-head {
    width: 100%;
    height: 80px;
    background: #8db6af; }
  .section {
    width: 605px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  .section span {
    color: white;
    font-weight: bolder;
    font-size: 25px;
    line-height: 80px; }
  .section input {
    width: 400px;
    height: 30px;
    line-height: 33px;
    margin: 8px 0;
    padding: 8px 5px;
    border-radius: 20px;
    border: 1px solid #8fcfc3;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }
  .section button {
    width: 64px;
    height: 29px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 0 0 rgba(255, 255, 255, 0.15);
    margin-left: -63px;
    border-radius: 20px;
    background: white;
    border: 1px solid #8fcfc3; }
  .section .submitP {
    height: 46px;
    line-height: 46px; }
  .part {
    width: 96%;
    margin-left: auto;
    margin-right: auto; }
  .unfinish {
    width: 360px;
    height: 350px; }
  .unfinishUL li {
    height: 40px;
    line-height: 45px; }
  .choic {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 5px;
    top: 12px; }
  .ListWord {
    width: 65%;
    height: 40px;
    font-size: 16px; }
  .finish {
    width: 360px;
    height: 350px;
    margin-left: 40px; }
  .unfinish::before, .finish::before {
    position: absolute;
    right: 1px;
    top: 279px; }
  .unfinish:hover, .finish:hover {
    transform: scale(1.1); } }

@media all and (max-width: 639.98px) {
  .todo-head {
    width: 100%;
    height: 60px;
    background: #a6cdb0; }
  .root {
    background: linear-gradient(45deg, #ffe7ff 0%, #89bfb5 45%, #89bfb5 58%, #ffe7ff 99%);
    padding-bottom: 2rem; }
  .section {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
    align-items: center; }
  .section span {
    color: white;
    font-weight: bolder;
    font-size: 22px;
    line-height: 60px; }
  .section input {
    width: 280px;
    height: 26px;
    line-height: 28px;
    margin: 6px 0;
    padding: 6px 5px;
    border-radius: 20px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.15); }
  .section button {
    width: 56px;
    height: 28px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.35), 0 0 0 rgba(255, 255, 255, 0.15);
    margin-left: -50px;
    border-radius: 20px;
    background: white; }
  .section .submitP {
    height: 46px;
    line-height: 46px; }
  .part {
    flex-direction: column;
    align-items: center;
    width: 96%; }
  .unfinish {
    width: 360px;
    height: 350px; }
  .unfinishUL li {
    height: 40px;
    line-height: 45px; }
  .choic {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 5px;
    top: 12px; }
  .ListWord {
    width: 65%;
    height: 40px;
    font-size: 16px; }
  .finish {
    width: 360px;
    height: 350px;
    margin-left: 40px; }
  .unfinish::before, .finish::before {
    position: absolute;
    right: 1px;
    top: 279px; }
  .unfinish:hover, .finish:hover {
    transform: scale(1.1); } }
